//
//  OrderView.h
//  GuoBang
//
//  Created by 梧桐树 on 16/5/3.
//  Copyright © 2016年 梧桐树. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "DanGaoView.h"
#import "MovieView.h"
#import "HuaFeiView.h"
enum{
    Huafei=1,//话费
    Kafei,//咖啡
    Dache,//打车
    Xiawucha,//下午茶
    Lingshi,//零食
    Shuiguo,//水果
    Gengduo//更多服务
};


@protocol myDingDelegate <NSObject>

-(void)dingKaFei;
-(void)yaodache;



@end





@interface OrderView : UIView<UIScrollViewDelegate>
{
    
    UIScrollView *scr;
    IBOutlet UIImageView *line;
    UIPageControl *pageCtrl;
}
@property(nonatomic,assign)int style;
@property(nonatomic,strong)NSArray *dataArry;
@property (weak, nonatomic) IBOutlet UIButton *addBtn;
@property(nonatomic,strong)IBOutlet UIImageView *icon;
@property(nonatomic,strong)IBOutlet UILabel *title;
@property(nonatomic, assign)id<myDingDelegate>delegate;
-(void)loadView;
@end
